package MethodApplication.MethodDemo1;

public class student {
    private String name;

    public student() {
    }

    public student(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "student{" +
                "name='" + name + '\'' +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public  void methodUpperCases(String s){
        System.out.println(s.toUpperCase());
    }
}
